﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;

namespace Dycox.Reporting
{
    public class LineStyle : Style
    {
        public LineStyle()
        {
            
        }

        public float LineWidth
        {
            get { return GetValueOrDefault<float>("Width", 0f); }
            set { SetValue("Width", value); }
        }

        public Color LineColor
        {
            get { return GetValueOrDefault<Color>("Color"); }
            set { SetValue("Color", value); }
        }

        public DashStyle DashStyle
        {
            get { return GetValueOrDefault<DashStyle>("Dash", System.Drawing.Drawing2D.DashStyle.Solid); }
            set { SetValue("Dash", value); }
        }
    }
}
